export const noRepeat = { 
    inserted(el, binding) { 
        el.addEventListener('click', () => {
            console.log("this is a click");
            if (!el.disabled) {
                el.disabled = true
                setTimeout(() => {
                    el.disabled = false
                }, binding.value || 2000)
            }
        }) 
    } 
}
 